#include <unistd.h>
#include <string.h>
#include <stdio.h>

static char normaldir[3584]={0};
static char nowdir[4096]={0};
static char pathcatbuff[4096]={0};
#define LUAPATH "\\luascript"
#define LIBPATH "\\clibs"
#define DATAPATH "\\data"

enum workingdir{
	root=0,
	libs,
	lua,
	data
};

void mchroot();
void mchdir(int l);

void remberdir();
void resumedir();
